package com.jf.demo.composeapp.ui.content

import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import com.jf.demo.composeapp.Message

/**
 * @Class: ListActivityContent
 * @Description:
 * @author:
 * @Date: 2022/7/14
 */
@Composable
fun MessageCard(msg : Message){
    Column(Modifier.fillMaxWidth(), horizontalAlignment = Alignment.CenterHorizontally) {
        Text(text = msg.title)
        Text(text = msg.msg)
    }
}

